#ifndef ACTIONDESSINRESIZE_H
#define ACTIONDESSINRESIZE_H

#ifndef WX_PRECOMP
    #include <wx/wx.h>
#endif
#include "ActionDessin.h"


class Dessin;

class ActionDessinResize : public ActionDessin
{
    public:
        ActionDessinResize();
        virtual void OnMousePressed(Dessin*,wxMouseEvent&);
        virtual void OnRelease(Dessin*,wxMouseEvent&);
        virtual void OnMotion(Dessin*,wxMouseEvent&);
        virtual void OnTimer(Dessin*,wxTimerEvent&);
        virtual void correctDimension(Dessin*);
        virtual void resize(Dessin*,long,long,long,long);


     private:
        long debut_mouv_x,debut_mouv_y;

};

#endif // ACTIONDESSINRESIZE_H
